package com.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gulimall.common.utils.PageUtils;
import com.gulimall.ware.entity.PurchaseEntity;
import com.gulimall.ware.vo.PurchaseDoneVo;
import com.gulimall.ware.vo.PurchaseMergeVo;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author kkk
 * @email 2017809755@qq.com
 * @date 2022-05-17 22:04:35
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryUnReceiveList(Map<String, Object> params);

    void saveMergePurchase(PurchaseMergeVo mergeVo);

    void savePurchase(PurchaseEntity purchase);

    void updatePurchase(PurchaseEntity purchase);

    void receivedPurchase(List<Long> purchaseItem);

    void donePurchase(PurchaseDoneVo purchaseDoneVo);
}

